package com.blrs.domain;

import com.blrs.common.annotation.Excel;
import com.blrs.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 客户确认对象 customer_confirmation
 * 
 * @author ruoyi
 * @date 2024-05-15
 */
public class CustomerConfirmation extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 确认ID，使用UUID作为主键，确保唯一性，用于唯一标识每个客户确认记录 */
    private String confirmationId;

    /** 关联的项目ID，外键关联project表，建立客户确认记录与项目的关联关系 */
    @Excel(name = "项目ID")
    private String projectId;

    /** 老师评分，记录客户对项目中老师方面的评分 */
    @Excel(name = "老师评分")
    private Integer teacherScore;

    /** 质量评分，记录客户对项目质量方面的评分 */
    @Excel(name = "质量评分")
    private Integer qualityScore;

    /** 服务评分，记录客户对项目服务方面的评分 */
    @Excel(name = "服务评分")
    private Integer serviceScore;

    /** 总分，记录客户对项目的总评分 */
    @Excel(name = "总分")
    private Integer totalScore;

    /** 综合评价，存储客户的详细文字评价内容 */
    @Excel(name = "综合评价")
    private String evaluationText;

    /** 荣誉资质同步标志，1表示已同步，0表示未同步，记录荣誉资质 */
    @Excel(name = "荣誉资质同步标志", readConverterExp = "1=已同步,0=未同步")
    private Integer honorQualificationSync;

    /** 文控中心同步标志，1表示已同步，0表示未同步，记录荣誉资质 */
    @Excel(name = "文控中心同步标志", readConverterExp = "1=已同步,0=未同步")
    private Integer centerSync;

    public String getConfirmationId() {
        return confirmationId;
    }

    public void setConfirmationId(String confirmationId) {
        this.confirmationId = confirmationId;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public Integer getTeacherScore() {
        return teacherScore;
    }

    public void setTeacherScore(Integer teacherScore) {
        this.teacherScore = teacherScore;
    }

    public Integer getQualityScore() {
        return qualityScore;
    }

    public void setQualityScore(Integer qualityScore) {
        this.qualityScore = qualityScore;
    }

    public Integer getServiceScore() {
        return serviceScore;
    }

    public void setServiceScore(Integer serviceScore) {
        this.serviceScore = serviceScore;
    }

    public Integer getTotalScore() {
        return totalScore;
    }

    public void setTotalScore(Integer totalScore) {
        this.totalScore = totalScore;
    }

    public String getEvaluationText() {
        return evaluationText;
    }

    public void setEvaluationText(String evaluationText) {
        this.evaluationText = evaluationText;
    }

    public Integer getHonorQualificationSync() {
        return honorQualificationSync;
    }

    public void setHonorQualificationSync(Integer honorQualificationSync) {
        this.honorQualificationSync = honorQualificationSync;
    }

    public Integer getCenterSync() {
        return centerSync;
    }

    public void setCenterSync(Integer centerSync) {
        this.centerSync = centerSync;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("confirmationId", getConfirmationId())
            .append("projectId", getProjectId())
            .append("teacherScore", getTeacherScore())
            .append("qualityScore", getQualityScore())
            .append("serviceScore", getServiceScore())
            .append("totalScore", getTotalScore())
            .append("evaluationText", getEvaluationText())
            .append("honorQualificationSync", getHonorQualificationSync())
            .append("centerSync", getCenterSync())
            .toString();
    }
} 